package com.app.service;

import com.app.model.AdminUserModel;
import com.app.vo.AdminUserVo;

import java.util.List;

public interface AdminUserService {
    AdminUserModel getUserByUserName(String account, String pwd);

    AdminUserModel getUserById(Integer userId);

    void update(AdminUserModel user);

    void insertAdmin(AdminUserModel adminUserModel);

    void updateAdmin(AdminUserModel adminUserModel);

    void deleteAdmin(Integer id);

    AdminUserVo selectAdmin(Integer page, Integer limit, String account);

    void updateStatus(Integer status,Integer id);
}
